<?php

return array(
    'router' => array(
        'routes' => array(
            'login' => array(
                'type' => 'Literal',
                'options' => array(
                    'route' => '/login',
                    'defaults' => array(
                        '__NAMESPACE__' => 'Auth\Controller',
                        'controller'    => 'Login',
                        'action'        => 'login',
                    ),                    
                ),
                'may_terminate' => true,
                'child_routes' => array(
                    'default' => array(
						'type'    => 'Segment',
						'options' => array(
							'route'    => '[/:action]',
							'constraints' => array(
								'action'     => '[a-zA-Z][a-zA-Z0-9_-]*',
							),
                            'defaults' => array(
                                
                            ),
						)
					)
                ),
            ),
        ),
    ),

    'service_manager' => array(
        
    ),
    
    'controllers' => array(
        'invokables' => array(
            'Auth\Controller\Login' => 'Auth\Controller\LoginController' ,	    
        ),
    ),
    
    'view_manager' => array(
        'template_path_stack' => array(
            'users' => __DIR__ . '/../view/'
        ),
    ),
);
